package com.lthlearn.pojo;

import lombok.*;

import java.io.Serial;
import java.io.Serializable;
import java.util.List;

/**
 * 旅游图片及主要内容类
 *
 * @author: 2942733239@qq.com
 * @date: 2024/11/6 14:11
 * @description: com.lthlearn.pojo
 * @version: 1.0
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@RequiredArgsConstructor
public class Travel {

    private Integer placeId;

    @NonNull
    private String locationName;

    @NonNull
    private String info;

    // 一个景点由多个用户收藏
    // private List<User> users;

}
